<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<#include "/common/resources.ftl"/>
<script type="text/javascript">
	function m_submit(){
		window.saveOrEditForm.submit();
	}
	
	function m_back(){
		window.location.href = 'manage';
	}
	<#if errorMsg?exists >alert('${errorMsg}');</#if>
</script>
</head>
<body>
  <form action="${ctx}/qfbao/loanassess/save_edit" method="post" class="loan_list_form" name="saveOrEditForm">
  <input type="hidden" name="id" value="<#if model?exists >${model.id}</#if>" />
  <div class="fm_sty" style="margin: 20px 0px 0px;">
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">备注</span>
				<input type="text" name="remark" value="<#if model?exists >${model.remark}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">创建时间</span>
				<input type="text" name="createTime" value="<#if model?exists >${model.createTime?string("yyyyMMdd HH:mm:ss")}</#if>" class="easyui-datebox" panelWidth="255" style="height:39px;"/>
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">修改时间</span>
				<input type="text" name="updateTime" value="<#if model?exists >${model.updateTime?string("yyyyMMdd HH:mm:ss")}</#if>" class="easyui-datebox" panelWidth="255" style="height:39px;"/>
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">城市ID</span>
				<input type="text" name="cityId" value="<#if model?exists >${model.cityId}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">小区名称</span>
				<input type="text" name="communityName" value="<#if model?exists >${model.communityName}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">环线，对应字典表，比如中环</span>
				<input type="text" name="loop" value="<#if model?exists >${model.loop}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">物业类型，对应字典表，比如住宅、商业物业</span>
				<input type="text" name="propertyType" value="<#if model?exists >${model.propertyType}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">建筑面积</span>
				<input type="text" name="constructionArea" value="<#if model?exists >${model.constructionArea}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">评估价值</span>
				<input type="text" name="assessmentValue" value="<#if model?exists >${model.assessmentValue}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">产权人年龄</span>
				<input type="text" name="propertyRightAge" value="<#if model?exists >${model.propertyRightAge}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">户口个数</span>
				<input type="text" name="accountNumber" value="<#if model?exists >${model.accountNumber}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">备用房</span>
				<input type="text" id="spareRoom_id" name="spareRoom" style="height:39px;width:266px;" yixun_combobox="order_spare_room" value="<#if model?exists >${model.spareRoom}</#if>"/>
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">安歇贷款</span>
				<input type="text" id="restLoan_id" name="restLoan" style="height:39px;width:266px;" yixun_combobox="order_rest_loan" value="<#if model?exists >${model.restLoan}</#if>"/>
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">贷款估值</span>
				<input type="text" name="loanValuation" value="<#if model?exists >${model.loanValuation}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">已安歇贷款金额</span>
				<input type="text" name="alreadyLoanValuation" value="<#if model?exists >${model.alreadyLoanValuation}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">贷款订单表</span>
				<input type="text" name="loanOrderId" value="<#if model?exists >${model.loanOrderId}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
      <div class="ipt_line_long">
            <button class="red_100" onclick="javascript:m_submit();return false;">保存</button>
            <button class="red_100" onclick="javascript:m_back();return false;" style="background-color:#74D86A">返回</button>
      </div>
	</div>
	</form>
</body>
</html>
